﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tSubConversation")]
[XmlRoot("subConversation", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class SubConversation : ConversationNode
{
    /// <remarks/>
    [XmlElement("callConversation", typeof(CallConversation))]
    [XmlElement("conversation", typeof(Conversation))]
    [XmlElement("conversationNode", typeof(ConversationNode))]
    [XmlElement("subConversation", typeof(SubConversation))]
    public ConversationNode[] Items { get; set; } = default!;
}
